package com.ruizhong.centercontroll.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_3d_mesh")
@XmlRootElement
public class T3DMesh {
    @XmlTransient
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @XmlTransient
    private Integer pageId;

    private String sourcePath;

    private Double positionX;

    private Double positionY;

    private Double positionZ;

    private Double scalingX;

    private Double scalingY;

    private Double scalingZ;

    private Double rotationX;

    private Double rotationY;

    private Double rotationZ;



    private String name;

private Integer sceneIndex;


    @XmlTransient
    @TableField(exist = false)
    private String type = "3DMESH";



    @XmlTransient
    public String getType() {
        return type;
    }



    @XmlTransient
    public Integer getPageId() {
        return pageId;
    }

    @XmlTransient
    public Integer getId() {
        return id;
    }


}
